package com.app.mapper;

import com.app.model.CustomerModel;
import com.app.model.EnterpriseModel;
import com.app.vo.EnterpriseVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface EnterpriseMapper  extends BaseMapper<EnterpriseModel> {

    List<EnterpriseModel> getComByStreet(String startTime, String endTime);
    List<EnterpriseModel> getComAndStreet(String startTime,String endTime);

    List<EnterpriseModel> getComPopular(EnterpriseModel model);

    Integer getComPopularCount(EnterpriseModel model);
    List<EnterpriseModel> getKeynotePage(EnterpriseModel ent);
    Integer getKeynoteCount();
    Integer queryCompanyCount(@Param("city") String city);

}
